.mdl-grid
	.mdl-cell--4-offset.mdl-cell--4-col
		.mdl-card.mdl-shadow--2dp
			.mdl-card__title
				h2.mdl-card__title-text 注册
			.mdl-card__content.mdl-grid
				.mdl-cell--12-col
					.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label
						input.mdl-textfield__input(type="text" name="username")#register-username
						label.mdl-textfield__label(for="register-username") 用户名
				.mdl-cell--12-col
					.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label
						input.mdl-textfield__input(type="password" name="password")#register-password
						label.mdl-textfield__label(for="register-password") 密码
				.mdl-cell--12-col
					.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label
						input.mdl-textfield__input(type="password" name="password-confirm")#password-confirm
						label.mdl-textfield__label(for="password-confirm") 确认密码
			.mdl-card__actions.mdl-card--border.flex
				.mdl-grid--no-margin.flex
					btn.mdl-button.mdl-js-button.mdl-button--colored.mdl-js-ripple-effect(onclick="goto('index', '登录')") 返回
					.mdl-layout-spacer
					btn.mdl-button.mdl-js-button.mdl-button--colored.mdl-button--raised.mdl-js-ripple-effect(onclick="registerWorker()")#register-button 注册